package com.bl.student.dao.repository;

import com.bl.student.dao.model.CityEntity;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by yujingyi on 2018/5/6.
 */
public interface CityRepository extends PagingAndSortingRepository<CityEntity, Integer> {
    List<CityEntity> findByParentid(int parentid);

}
